package com.fuze.navi.domain.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author sepc_
 * @date 3/19/2021 11:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "station")
public class Station implements Serializable {
    /**
     * 电站的自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 电站名称
     */
    @TableField(value = "station_name")
    private String stationName;

    /**
     * 电压等级
     */
    @TableField(value = "voltage_level")
    private String voltageLevel;

    /**
     * 逻辑删除标识（0-未删除，1-已经删除）
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_STATION_NAME = "station_name";

    public static final String COL_VOLTAGE_LEVEL = "voltage_level";

    public static final String COL_DELETE_FLAG = "delete_flag";
}